package sample.positive.service;

/**
 * 支付服务
 */
public class PaymentService {

    /**
     * 支付
     * @param paymentType
     * @param amount
     */
    public void pay(String paymentType, double amount) {
        PaymentFactory.getPayment(paymentType).pay(amount);
    }
}
